package com.etc.youkeshoppingssm.entity;

import java.io.Serializable;
import java.util.List;

public class Category implements Serializable {
    private String categoryId;
    private String categoryName;
    private String picture;
    private String saleInfo;

    private List<Goods> goods;

    @Override
    public String toString() {
        return "Category{" +
                "categoryId='" + categoryId + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", picture='" + picture + '\'' +
                ", saleInfo='" + saleInfo + '\'' +
                ", goods=" + goods +
                '}';
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getSaleInfo() {
        return saleInfo;
    }

    public void setSaleInfo(String saleInfo) {
        this.saleInfo = saleInfo;
    }

    public List<Goods> getList() {
        return goods;
    }

    public void setList(List<Goods> goods) {
        this.goods = goods;
    }

    public Category(String categoryId, String categoryName, String picture, String saleInfo, List<Goods> goods) {
        this.categoryId = categoryId;
        this.categoryName = categoryName;
        this.picture = picture;
        this.saleInfo = saleInfo;
        this.goods = goods;
    }

    public Category() {
    }
}
